package com.itheima.demo02;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/7/14 17:18
 */
public class Work_004 {
    public static void main(String[] args) {
        MyRunnable_004 m = new MyRunnable_004();
        Thread t1 = new Thread(m);
        Thread t2 = new Thread(m);
        t1.setName("张三");
        t2.setName("李四");
        t1.start();
        t2.start();
    }
}
